package com.loyal.loyalerp.humenresource.role.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.loyal.loyalerp.humenresource.role.util.CompanynameJsonSerializer;
import com.loyal.loyalerp.humenresource.role.util.ActiveJsonSerializer;

public class GyRole {
    private Integer id;
    
    @JsonSerialize(using = CompanynameJsonSerializer.class)
    private Integer companyid;

    private String rolecode;

    private String rolename;

    private String remark;
    
    @JsonSerialize(using = ActiveJsonSerializer.class)
    private Byte active;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCompanyid() {
        return companyid;
    }

    public void setCompanyid(Integer companyid) {
        this.companyid = companyid;
    }

    public String getRolecode() {
        return rolecode;
    }

    public void setRolecode(String rolecode) {
        this.rolecode = rolecode == null ? null : rolecode.trim();
    }

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename == null ? null : rolename.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Byte getActive() {
        return active;
    }

    public void setActive(Byte active) {
        this.active = active;
    }


    
}